// 枚举
enum Gender {
  Male,
  Female
}
console.log(Gender.Male) // 0
console.log(Gender.Female) // 1

// 枚举 自定义值
enum Direction {
  East = '东',
  West = '西',
  South = '南',
  North = '北'
}
console.log(Direction.East) // 东
console.log(Direction.West) // 西
console.log(Direction.South) // 南
console.log(Direction.North) // 北

export {}
